package com.gtt.jr.action.model;

import com.gtt.jr.app.domain.ContainerVO;

/**
 * 集装箱查看模型
 * 
 * @author 高甜甜(gao12581@sina.com)
 * @date 2011-3-9
 * 
 */
public class ContainerViewModel extends IdModel {

	private Long type;
	private String name;
	private String description;
	private String surl;
	private String url;
	private String turl;
	
	public void fromVO(ContainerVO vo){
		this.setId(vo.getId());
		this.setName(vo.getName());
		this.setDescription(vo.getDescription());
		this.setSurl(vo.getSurl());
		this.setUrl(vo.getUrl());
		this.setTurl(vo.getTurl());
	}

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getSurl() {
		return surl;
	}

	public void setSurl(String surl) {
		this.surl = surl;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTurl() {
		return turl;
	}

	public void setTurl(String turl) {
		this.turl = turl;
	}

}
